// Generated from E:\Leon\kbl\SLMN\src\main\resources\Mson.g4 by ANTLR 4.3
package com.slmn.antlr;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class MsonParser extends Parser {
	static { RuntimeMetaData.checkVersion("4.3", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__15=1, T__14=2, T__13=3, T__12=4, T__11=5, T__10=6, T__9=7, T__8=8, 
		T__7=9, T__6=10, T__5=11, T__4=12, T__3=13, T__2=14, T__1=15, T__0=16, 
		KEYWORD=17, IDENTIFIER=18, STRING=19, NUMBER=20, WS=21, COMMENT=22, LINE_COMMENT=23;
	public static final String[] tokenNames = {
		"<INVALID>", "'STRING'", "'true'", "'DECIMAL'", "':'", "'['", "'{'", "'<'", 
		"']'", "'}'", "'>'", "'null'", "'('", "')'", "','", "'.'", "'false'", 
		"KEYWORD", "IDENTIFIER", "STRING", "NUMBER", "WS", "COMMENT", "LINE_COMMENT"
	};
	public static final int
		RULE_mson = 0, RULE_object = 1, RULE_pair = 2, RULE_array = 3, RULE_value = 4, 
		RULE_override = 5, RULE_string = 6, RULE_decimal = 7, RULE_domainHeader = 8, 
		RULE_type = 9, RULE_domainName = 10;
	public static final String[] ruleNames = {
		"mson", "object", "pair", "array", "value", "override", "string", "decimal", 
		"domainHeader", "type", "domainName"
	};

	@Override
	public String getGrammarFileName() { return "Mson.g4"; }

	@Override
	public String[] getTokenNames() { return tokenNames; }

	@Override
	public String[] getRuleNames() { return ruleNames; }

	@Override
	public String getSerializedATN() { return _serializedATN; }

	@Override
	public ATN getATN() { return _ATN; }

	public MsonParser(TokenStream input) {
		super(input);
		_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}
	public static class MsonContext extends ParserRuleContext {
		public ObjectContext object() {
			return getRuleContext(ObjectContext.class,0);
		}
		public ArrayContext array() {
			return getRuleContext(ArrayContext.class,0);
		}
		public MsonContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_mson; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterMson(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitMson(this);
		}
	}

	public final MsonContext mson() throws RecognitionException {
		MsonContext _localctx = new MsonContext(_ctx, getState());
		enterRule(_localctx, 0, RULE_mson);
		try {
			setState(24);
			switch (_input.LA(1)) {
			case T__10:
				enterOuterAlt(_localctx, 1);
				{
				setState(22); object();
				}
				break;
			case T__11:
				enterOuterAlt(_localctx, 2);
				{
				setState(23); array();
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class ObjectContext extends ParserRuleContext {
		public PairContext pair(int i) {
			return getRuleContext(PairContext.class,i);
		}
		public List<PairContext> pair() {
			return getRuleContexts(PairContext.class);
		}
		public ObjectContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_object; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterObject(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitObject(this);
		}
	}

	public final ObjectContext object() throws RecognitionException {
		ObjectContext _localctx = new ObjectContext(_ctx, getState());
		enterRule(_localctx, 2, RULE_object);
		int _la;
		try {
			setState(39);
			switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
			case 1:
				enterOuterAlt(_localctx, 1);
				{
				setState(26); match(T__10);
				setState(27); pair();
				setState(32);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__2) {
					{
					{
					setState(28); match(T__2);
					setState(29); pair();
					}
					}
					setState(34);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				setState(35); match(T__7);
				}
				break;

			case 2:
				enterOuterAlt(_localctx, 2);
				{
				setState(37); match(T__10);
				setState(38); match(T__7);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class PairContext extends ParserRuleContext {
		public PairContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_pair; }
	 
		public PairContext() { }
		public void copyFrom(PairContext ctx) {
			super.copyFrom(ctx);
		}
	}
	public static class DomainValueContext extends PairContext {
		public ValueContext value() {
			return getRuleContext(ValueContext.class,0);
		}
		public DomainHeaderContext domainHeader() {
			return getRuleContext(DomainHeaderContext.class,0);
		}
		public DomainValueContext(PairContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterDomainValue(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitDomainValue(this);
		}
	}
	public static class DomainClassContext extends PairContext {
		public DomainHeaderContext domainHeader() {
			return getRuleContext(DomainHeaderContext.class,0);
		}
		public ObjectContext object() {
			return getRuleContext(ObjectContext.class,0);
		}
		public DomainClassContext(PairContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterDomainClass(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitDomainClass(this);
		}
	}
	public static class DomainArrayContext extends PairContext {
		public DomainHeaderContext domainHeader() {
			return getRuleContext(DomainHeaderContext.class,0);
		}
		public ArrayContext array() {
			return getRuleContext(ArrayContext.class,0);
		}
		public DomainArrayContext(PairContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterDomainArray(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitDomainArray(this);
		}
	}

	public final PairContext pair() throws RecognitionException {
		PairContext _localctx = new PairContext(_ctx, getState());
		enterRule(_localctx, 4, RULE_pair);
		try {
			setState(53);
			switch ( getInterpreter().adaptivePredict(_input,3,_ctx) ) {
			case 1:
				_localctx = new DomainValueContext(_localctx);
				enterOuterAlt(_localctx, 1);
				{
				setState(41); domainHeader();
				setState(42); match(T__12);
				setState(43); value();
				}
				break;

			case 2:
				_localctx = new DomainClassContext(_localctx);
				enterOuterAlt(_localctx, 2);
				{
				setState(45); domainHeader();
				setState(46); match(T__12);
				setState(47); object();
				}
				break;

			case 3:
				_localctx = new DomainArrayContext(_localctx);
				enterOuterAlt(_localctx, 3);
				{
				setState(49); domainHeader();
				setState(50); match(T__12);
				setState(51); array();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class ArrayContext extends ParserRuleContext {
		public ArrayContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_array; }
	 
		public ArrayContext() { }
		public void copyFrom(ArrayContext ctx) {
			super.copyFrom(ctx);
		}
	}
	public static class ArrayArrayContext extends ArrayContext {
		public ArrayContext array(int i) {
			return getRuleContext(ArrayContext.class,i);
		}
		public List<ArrayContext> array() {
			return getRuleContexts(ArrayContext.class);
		}
		public ArrayArrayContext(ArrayContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterArrayArray(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitArrayArray(this);
		}
	}
	public static class PackageContext extends ArrayContext {
		public ObjectContext object(int i) {
			return getRuleContext(ObjectContext.class,i);
		}
		public List<ObjectContext> object() {
			return getRuleContexts(ObjectContext.class);
		}
		public PackageContext(ArrayContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterPackage(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitPackage(this);
		}
	}
	public static class ArrayValueContext extends ArrayContext {
		public List<ValueContext> value() {
			return getRuleContexts(ValueContext.class);
		}
		public ValueContext value(int i) {
			return getRuleContext(ValueContext.class,i);
		}
		public ArrayValueContext(ArrayContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterArrayValue(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitArrayValue(this);
		}
	}

	public final ArrayContext array() throws RecognitionException {
		ArrayContext _localctx = new ArrayContext(_ctx, getState());
		enterRule(_localctx, 6, RULE_array);
		int _la;
		try {
			setState(88);
			switch ( getInterpreter().adaptivePredict(_input,7,_ctx) ) {
			case 1:
				_localctx = new ArrayValueContext(_localctx);
				enterOuterAlt(_localctx, 1);
				{
				setState(55); match(T__11);
				setState(56); value();
				setState(61);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__2) {
					{
					{
					setState(57); match(T__2);
					setState(58); value();
					}
					}
					setState(63);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				setState(64); match(T__8);
				}
				break;

			case 2:
				_localctx = new PackageContext(_localctx);
				enterOuterAlt(_localctx, 2);
				{
				setState(66); match(T__11);
				setState(67); object();
				setState(72);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__2) {
					{
					{
					setState(68); match(T__2);
					setState(69); object();
					}
					}
					setState(74);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				setState(75); match(T__8);
				}
				break;

			case 3:
				_localctx = new ArrayArrayContext(_localctx);
				enterOuterAlt(_localctx, 3);
				{
				setState(77); match(T__11);
				setState(78); array();
				setState(83);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__2) {
					{
					{
					setState(79); match(T__2);
					setState(80); array();
					}
					}
					setState(85);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				setState(86); match(T__8);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class ValueContext extends ParserRuleContext {
		public DomainNameContext domainName() {
			return getRuleContext(DomainNameContext.class,0);
		}
		public StringContext string() {
			return getRuleContext(StringContext.class,0);
		}
		public DecimalContext decimal() {
			return getRuleContext(DecimalContext.class,0);
		}
		public TerminalNode NUMBER() { return getToken(MsonParser.NUMBER, 0); }
		public OverrideContext override() {
			return getRuleContext(OverrideContext.class,0);
		}
		public ValueContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_value; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterValue(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitValue(this);
		}
	}

	public final ValueContext value() throws RecognitionException {
		ValueContext _localctx = new ValueContext(_ctx, getState());
		enterRule(_localctx, 8, RULE_value);
		try {
			setState(98);
			switch ( getInterpreter().adaptivePredict(_input,8,_ctx) ) {
			case 1:
				enterOuterAlt(_localctx, 1);
				{
				setState(90); domainName();
				}
				break;

			case 2:
				enterOuterAlt(_localctx, 2);
				{
				setState(91); match(NUMBER);
				}
				break;

			case 3:
				enterOuterAlt(_localctx, 3);
				{
				setState(92); match(T__14);
				}
				break;

			case 4:
				enterOuterAlt(_localctx, 4);
				{
				setState(93); match(T__0);
				}
				break;

			case 5:
				enterOuterAlt(_localctx, 5);
				{
				setState(94); match(T__5);
				}
				break;

			case 6:
				enterOuterAlt(_localctx, 6);
				{
				setState(95); string();
				}
				break;

			case 7:
				enterOuterAlt(_localctx, 7);
				{
				setState(96); decimal();
				}
				break;

			case 8:
				enterOuterAlt(_localctx, 8);
				{
				setState(97); override();
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class OverrideContext extends ParserRuleContext {
		public List<ValueContext> value() {
			return getRuleContexts(ValueContext.class);
		}
		public DomainNameContext domainName() {
			return getRuleContext(DomainNameContext.class,0);
		}
		public ValueContext value(int i) {
			return getRuleContext(ValueContext.class,i);
		}
		public OverrideContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_override; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterOverride(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitOverride(this);
		}
	}

	public final OverrideContext override() throws RecognitionException {
		OverrideContext _localctx = new OverrideContext(_ctx, getState());
		enterRule(_localctx, 10, RULE_override);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(100); domainName();
			setState(101); match(T__4);
			setState(102); value();
			setState(107);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while (_la==T__2) {
				{
				{
				setState(103); match(T__2);
				setState(104); value();
				}
				}
				setState(109);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			setState(110); match(T__3);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class StringContext extends ParserRuleContext {
		public TerminalNode NUMBER() { return getToken(MsonParser.NUMBER, 0); }
		public StringContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_string; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterString(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitString(this);
		}
	}

	public final StringContext string() throws RecognitionException {
		StringContext _localctx = new StringContext(_ctx, getState());
		enterRule(_localctx, 12, RULE_string);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(112); match(T__15);
			setState(113); match(T__4);
			setState(115);
			_la = _input.LA(1);
			if (_la==NUMBER) {
				{
				setState(114); match(NUMBER);
				}
			}

			setState(117); match(T__3);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class DecimalContext extends ParserRuleContext {
		public TerminalNode NUMBER(int i) {
			return getToken(MsonParser.NUMBER, i);
		}
		public List<TerminalNode> NUMBER() { return getTokens(MsonParser.NUMBER); }
		public DecimalContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_decimal; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterDecimal(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitDecimal(this);
		}
	}

	public final DecimalContext decimal() throws RecognitionException {
		DecimalContext _localctx = new DecimalContext(_ctx, getState());
		enterRule(_localctx, 14, RULE_decimal);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(119); match(T__13);
			setState(120); match(T__4);
			setState(121); match(NUMBER);
			setState(122); match(T__2);
			setState(123); match(NUMBER);
			setState(124); match(T__3);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class DomainHeaderContext extends ParserRuleContext {
		public TerminalNode COMMENT() { return getToken(MsonParser.COMMENT, 0); }
		public DomainNameContext domainName() {
			return getRuleContext(DomainNameContext.class,0);
		}
		public List<TerminalNode> LINE_COMMENT() { return getTokens(MsonParser.LINE_COMMENT); }
		public TypeContext type() {
			return getRuleContext(TypeContext.class,0);
		}
		public TerminalNode LINE_COMMENT(int i) {
			return getToken(MsonParser.LINE_COMMENT, i);
		}
		public DomainHeaderContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_domainHeader; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterDomainHeader(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitDomainHeader(this);
		}
	}

	public final DomainHeaderContext domainHeader() throws RecognitionException {
		DomainHeaderContext _localctx = new DomainHeaderContext(_ctx, getState());
		enterRule(_localctx, 16, RULE_domainHeader);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(132);
			switch (_input.LA(1)) {
			case COMMENT:
				{
				setState(126); match(COMMENT);
				}
				break;
			case LINE_COMMENT:
				{
				setState(128); 
				_errHandler.sync(this);
				_la = _input.LA(1);
				do {
					{
					{
					setState(127); match(LINE_COMMENT);
					}
					}
					setState(130); 
					_errHandler.sync(this);
					_la = _input.LA(1);
				} while ( _la==LINE_COMMENT );
				}
				break;
			case KEYWORD:
			case IDENTIFIER:
				break;
			default:
				throw new NoViableAltException(this);
			}
			setState(134); domainName();
			setState(136);
			_la = _input.LA(1);
			if (_la==T__9) {
				{
				setState(135); type();
				}
			}

			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class TypeContext extends ParserRuleContext {
		public TerminalNode KEYWORD(int i) {
			return getToken(MsonParser.KEYWORD, i);
		}
		public List<TerminalNode> KEYWORD() { return getTokens(MsonParser.KEYWORD); }
		public TypeContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_type; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterType(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitType(this);
		}
	}

	public final TypeContext type() throws RecognitionException {
		TypeContext _localctx = new TypeContext(_ctx, getState());
		enterRule(_localctx, 18, RULE_type);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(138); match(T__9);
			setState(139); match(KEYWORD);
			setState(144);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while (_la==T__2) {
				{
				{
				setState(140); match(T__2);
				setState(141); match(KEYWORD);
				}
				}
				setState(146);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			setState(147); match(T__6);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class DomainNameContext extends ParserRuleContext {
		public DomainNameContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_domainName; }
	 
		public DomainNameContext() { }
		public void copyFrom(DomainNameContext ctx) {
			super.copyFrom(ctx);
		}
	}
	public static class KeywordArrayContext extends DomainNameContext {
		public TerminalNode KEYWORD() { return getToken(MsonParser.KEYWORD, 0); }
		public KeywordArrayContext(DomainNameContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterKeywordArray(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitKeywordArray(this);
		}
	}
	public static class KeywordContext extends DomainNameContext {
		public TerminalNode KEYWORD() { return getToken(MsonParser.KEYWORD, 0); }
		public KeywordContext(DomainNameContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterKeyword(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitKeyword(this);
		}
	}
	public static class IdContext extends DomainNameContext {
		public TerminalNode IDENTIFIER(int i) {
			return getToken(MsonParser.IDENTIFIER, i);
		}
		public List<TerminalNode> IDENTIFIER() { return getTokens(MsonParser.IDENTIFIER); }
		public IdContext(DomainNameContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterId(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitId(this);
		}
	}
	public static class IdArrayContext extends DomainNameContext {
		public TerminalNode IDENTIFIER(int i) {
			return getToken(MsonParser.IDENTIFIER, i);
		}
		public List<TerminalNode> IDENTIFIER() { return getTokens(MsonParser.IDENTIFIER); }
		public IdArrayContext(DomainNameContext ctx) { copyFrom(ctx); }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).enterIdArray(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MsonListener ) ((MsonListener)listener).exitIdArray(this);
		}
	}

	public final DomainNameContext domainName() throws RecognitionException {
		DomainNameContext _localctx = new DomainNameContext(_ctx, getState());
		enterRule(_localctx, 20, RULE_domainName);
		int _la;
		try {
			setState(171);
			switch ( getInterpreter().adaptivePredict(_input,17,_ctx) ) {
			case 1:
				_localctx = new IdContext(_localctx);
				enterOuterAlt(_localctx, 1);
				{
				setState(149); match(IDENTIFIER);
				setState(154);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__1) {
					{
					{
					setState(150); match(T__1);
					setState(151); match(IDENTIFIER);
					}
					}
					setState(156);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				}
				break;

			case 2:
				_localctx = new IdArrayContext(_localctx);
				enterOuterAlt(_localctx, 2);
				{
				setState(157); match(IDENTIFIER);
				setState(162);
				_errHandler.sync(this);
				_la = _input.LA(1);
				while (_la==T__1) {
					{
					{
					setState(158); match(T__1);
					setState(159); match(IDENTIFIER);
					}
					}
					setState(164);
					_errHandler.sync(this);
					_la = _input.LA(1);
				}
				setState(165); match(T__11);
				setState(166); match(T__8);
				}
				break;

			case 3:
				_localctx = new KeywordArrayContext(_localctx);
				enterOuterAlt(_localctx, 3);
				{
				setState(167); match(KEYWORD);
				setState(168); match(T__11);
				setState(169); match(T__8);
				}
				break;

			case 4:
				_localctx = new KeywordContext(_localctx);
				enterOuterAlt(_localctx, 4);
				{
				setState(170); match(KEYWORD);
				}
				break;
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static final String _serializedATN =
		"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3\31\u00b0\4\2\t\2"+
		"\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
		"\t\13\4\f\t\f\3\2\3\2\5\2\33\n\2\3\3\3\3\3\3\3\3\7\3!\n\3\f\3\16\3$\13"+
		"\3\3\3\3\3\3\3\3\3\5\3*\n\3\3\4\3\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\2\2ut\3\2\2\2uv\3\2"+
		"\2\2vw\3\2\2\2wx\7\17\2\2x\17\3\2\2\2yz\7\5\2\2z{\7\16\2\2{|\7\26\2\2"+
		"|}\7\20\2\2}~\7\26\2\2~\177\7\17\2\2\177\21\3\2\2\2\u0080\u0087\7\30\2"+
		"\2\u0081\u0083\7\31\2\2\u0082\u0081\3\2\2\2\u0083\u0084\3\2\2\2\u0084"+
		"\u0082\3\2\2\2\u0084\u0085\3\2\2\2\u0085\u0087\3\2\2\2\u0086\u0080\3\2"+
		"\2\2\u0086\u0082\3\2\2\2\u0086\u0087\3\2\2\2\u0087\u0088\3\2\2\2\u0088"+
		"\u008a\5\26\f\2\u0089\u008b\5\24\13\2\u008a\u0089\3\2\2\2\u008a\u008b"+
		"\3\2\2\2\u008b\23\3\2\2\2\u008c\u008d\7\t\2\2\u008d\u0092\7\23\2\2\u008e"+
		"\u008f\7\20\2\2\u008f\u0091\7\23\2\2\u0090\u008e\3\2\2\2\u0091\u0094\3"+
		"\2\2\2\u0092\u0090\3\2\2\2\u0092\u0093\3\2\2\2\u0093\u0095\3\2\2\2\u0094"+
		"\u0092\3\2\2\2\u0095\u0096\7\f\2\2\u0096\25\3\2\2\2\u0097\u009c\7\24\2"+
		"\2\u0098\u0099\7\21\2\2\u0099\u009b\7\24\2\2\u009a\u0098\3\2\2\2\u009b"+
		"\u009e\3\2\2\2\u009c\u009a\3\2\2\2\u009c\u009d\3\2\2\2\u009d\u00ae\3\2"+
		"\2\2\u009e\u009c\3\2\2\2\u009f\u00a4\7\24\2\2\u00a0\u00a1\7\21\2\2\u00a1"+
		"\u00a3\7\24\2\2\u00a2\u00a0\3\2\2\2\u00a3\u00a6\3\2\2\2\u00a4\u00a2\3"+
		"\2\2\2\u00a4\u00a5\3\2\2\2\u00a5\u00a7\3\2\2\2\u00a6\u00a4\3\2\2\2\u00a7"+
		"\u00a8\7\7\2\2\u00a8\u00ae\7\n\2\2\u00a9\u00aa\7\23\2\2\u00aa\u00ab\7"+
		"\7\2\2\u00ab\u00ae\7\n\2\2\u00ac\u00ae\7\23\2\2\u00ad\u0097\3\2\2\2\u00ad"+
		"\u009f\3\2\2\2\u00ad\u00a9\3\2\2\2\u00ad\u00ac\3\2\2\2\u00ae\27\3\2\2"+
		"\2\24\32\")\67?JUZdmu\u0084\u0086\u008a\u0092\u009c\u00a4\u00ad";
	public static final ATN _ATN =
		new ATNDeserializer().deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
		for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
			_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
		}
	}
}